﻿using DevelopTool.Model.DbModels;

namespace DevelopTool.Model.SchedulerModels
{
    /// <summary>
    /// 定时任务-sql
    /// </summary>
    public class Scheduler_Sql: BaseModel
    {
        /// <summary>
        /// 定时任务id
        /// </summary>
        public int SchedulerId { get; set; }


        /// <summary>
        /// sql执行类型 1=sql语句,2=存储过程
        /// </summary>
        public int ExecuteType { get; set; }


        /// <summary>
        /// 执行的sql
        /// </summary>
        public string Sql { get; set; }

        /// <summary>
        /// 数据库连接对象
        /// </summary>
        public DbInfo DbInfo { get; set; }

    }
}
